package com.netflexitysolutions.amazonws.ec2;

import java.io.IOException;
import java.util.Map;

import javax.xml.bind.JAXBException;

import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.HttpMethodBase;


public interface RestEC2Service {

	public <T> T makeRequest(HttpMethodBase method, String action, Map<String, String> params, Class<T> respType)
	throws HttpException, IOException, JAXBException, EC2Exception;
}
